﻿using SiyinPractice.Domain.Business;
using System;
using System.ComponentModel;

namespace SiyinPractice.Domain.ProjectManagement.ProjectManage
{
    /// <summary>
    /// 钉钉通知
    /// </summary>
    [Description("钉钉通知")]
    public class DingDing : BusinessEntity
    {
        /// <summary>
        /// 父id
        /// </summary>
        [Description("父id")]
        public virtual Guid? PId { get; set; }

        /// <summary>
        /// 是否配置内容
        /// </summary>
        [Description("是否配置内容")]
        public virtual bool IsPid { get; set; }

        /// <summary>
        /// 应用的唯一标识key
        /// </summary>
        [Description("应用的唯一标识key")]
        public virtual string Appkey { get; set; }

        /// <summary>
        /// 应用的密钥。
        /// </summary>
        [Description("应用的密钥。")]
        public virtual string Appsecret { get; set; }

        /// <summary>
        /// 默认秒
        /// </summary>
        [Description("默认秒")]
        public virtual int DefaultTimer { get; set; }

        /// <summary>
        /// 定时器多少秒执行
        /// </summary>
        [Description("定时器多少秒执行")]
        public virtual int DefaultTimerInterval { get; set; }

        /// <summary>
        /// 成员ID列表
        /// </summary>
        [Description("成员ID列表")]
        public virtual string UserId_List { get; set; }

        /// <summary>
        /// 部门ID列表
        /// </summary>
        [Description("部门ID列表")]
        public virtual string Dept_Id_List { get; set; }

        /// <summary>
        /// 标签ID列表
        /// </summary>
        [Description("标签ID列表")]
        public virtual bool To_All_User { get; set; }

        /// <summary>
        /// 消息类型，
        /// </summary>
        [Description("消息类型")]
        public virtual string Msgtype { get; set; }

        /// <summary>
        /// 微应用的AgentID。
        /// </summary>
        [Description("微应用的AgentID。")]
        public virtual string Agent_id { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        [Description("标题")]
        public virtual string Title { get; set; }

        /// <summary>
        /// 消息内容，
        /// </summary>
        [Description("消息内容")]
        public virtual string Content { get; set; }
    }
}